<?php
echo $app_shop_hasUnit;
if ($app_shop_hasUnit=="no"){
    ?>
<script>
    var td=$("#el_unitId").parent();
    col=td.parent("tr").children().index(td)+1;
    $('td:nth-child('+col+'),th:nth-child('+col+')').hide();
</script>
<?php

}

?>
